package com.meng.basic;

import java.util.ArrayList;
import java.util.List;

public class ForEachIndexTest {

	public static void main(String[] args) {
		List<Integer> list = new ArrayList<Integer>();
		for (int i = 0; i < 100; i++)
			list.add(i);
		
		for (Integer i : list)
			System.out.println(i);
	}
}
